package shilihua;
public class Student {
        private String name;
        private Computer computer;

        public Student(String name,Computer computer) {
            this.name = name;
            this.computer = computer;
        }

        public String getName() {
            return name;
        }

        public String getComputerConfig() {
            return computer.toString();
        }
    }